import request from "@/api/request.js";
//首页接口

// 获取全局的管理店铺列表

export function Refresh(params) {
	return request.post("api-api/app/clientHelper/getTimeSlotsLimit", params, {
		header: {
			'Content-Type': 'application/json;charset=UTF-8',
			'Accept': '*/*',
			'Accept-Language': 'zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6',
		}
	});
}

// 获取toke
export function get_tokem(params, headerStr) {
	return request.post("api-api/app/clientHelper/pass/loginForgw", params, {
		header: {
			'Content-Type': 'application/json;charset=UTF-8',
			'Accept': '*/*',
			'Accept-Language': 'zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6',
		}
	})
}